package com.demo.mapper.base;

import com.demo.model.base.TableRelation;
import com.demo.model.base.TableRelationExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TableRelationMapper {
    int countByExample(TableRelationExample example);

    int deleteByExample(TableRelationExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TableRelation record);

    int insertSelective(TableRelation record);

    List<TableRelation> selectByExample(TableRelationExample example);

    TableRelation selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TableRelation record, @Param("example") TableRelationExample example);

    int updateByExample(@Param("record") TableRelation record, @Param("example") TableRelationExample example);

    int updateByPrimaryKeySelective(TableRelation record);

    int updateByPrimaryKey(TableRelation record);

	int insertBatch(List<TableRelation> records);
}